What is SHTML?
The html file extension of SSI (Server Side Include). SSI (Server Side Include) is usually called "Server-Side embedding" or "Server-Side inclusion ", is a server-based web page creation technology similar to ASP.SSI Working principle:
What is shtml?The HTML file extension of SSI (Server Side Include). SSI (Server Side Include) is usually called "server-side embedding" or "server-side inclusion ", is a server-based web page creation technology similar to ASP.SSI Working
SSI How to
Introduction
SSI (Server Side Includes) is The instructions placed in the HTML page (directives) are evaluated on the server while the HTML page is being used. This allows you to add
Method One: The following is a detailed set of steps for setting up Apache support shtmlOpen includes module run shtml
0, open the PHP Environment installation directory (my D:\wamp\Apache2\conf) in the httpd.conf file (about 408-409 lines):
1,
Method 1: The following describes how to configure apache to support shtml.Enable the mongodes module to run shtml
0. Enable the php installation directory (under my Directory D: \ wamp \ Apache2 \ conf) in the httpd. conf file (about-rows ):
1.
Apache is highly portable and supports over 30 operating systems, including Unix, Windows, and Darwin, most of the domains registered on the network currently use Apache Web servers. ApacheSoftware Foundation is currently developing Apache2.0, which
SSI, for Server Side includes, was actually a sort of server-side programming language interpreted by Nginx. Its name was based on the fact, the most used functionality of the language are the include command. Back in the 1990s, such languages were
include| Web pages have been built in the web. When we encounter a lot of content for static pages, and the page header and footer often to be replaced, if always use HTML files always have a lot of trouble. Because the batch modification is not
1. ssi command # config: Specify the format of the error message, date, and file size returned to the client browser.
# Echo: insert the environment variable value in the HTML page.
# Exec: run an application or a shell command and insert the output
Apache does not support ssi by default. We need to change httpd. conf for configuration. Take Apache 2.0.x on Windows as an example to open httpd In the conf directory. CONF file, search for "addtype text/html. shtml ", search result: # addtype text/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.